/*
    @author:sa
    @date:2024/11/8 10:43
*/
public class sm {
    public static void main(String[] args) {
        int a=10;
        int b=a>8? a+1:a-1;
        System.out.println(b);
    }
}